package com.yneusoft.manage.model.param;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


/**
 * create by fzg
 * 2021/10/23 16:06
 */

@Data
public class CheckDamageBookQuantityParam {

    /**
     * 图书aid
     */
    @NotNull(message = "aid不能为空")
    private Integer aid;

    /**
     * 输入的损坏的图书数量
     */
    @NotNull(message = "损坏图书的数量不能为空")
    @Min(value = 1, message = "损坏数量最小为1")
    private Integer demageQuantity;

}
